moved javascript links to bottom of page to optimize loading