Adds Apache 2.0 license header to render.js
Changes default request type to "OPTIONS"