frustration with js