Javascript displayed on screen