added javascript file for home