coded and tested JS file, added css