freaking stupid dumb javascripts