fixing javascript and adding font awesome