Update onImage.html to match usage of RequireJS just like index.html.