Move non-object JS to bottom. #1190