Move js to header for testing IE compatible.