attempt at taking client side js and putting it in an external jss file