modified home index and general.js