Moved last script tag inside of BODY to avoid IE

IE unexpected token error.