corrected some js warnings