Trouble with the javascripts, something is blocking DOM manipulation