Commit: change js so that it is not hiding elements