UPDATED moved javascript to the bottom of the body.