adding homepage and js