js assignment

Final refining done
change the names of the function, for both `hide` and `show`