Should I separate my javascript code files based on line count?
<p>I custom coded a dynamic database linked (through asp.net) photo gallery in javascript which manages about 300 images.  There is no redundant code, but it is about 500 lines long.  Should I be splitting it into different .js files, or is the one .js file with 500 lines okay?  Is there a best practice for ensuring that javascript files stay under a certain amount of lines of code?</p>
