File ReOrg

Moving javascript to an actual .js file, and renaming files to be
uniform...