fixes to js practice page