Organized Javascript and Fixed Homepage