jsLinted the code