first attempt at adding show hide javascript