Makes javascript wait to run until HTML is loaded

wheeeee