changes made to hw to make js unobstrusive