Fix bug in javascript asset registration that prevented oauth redirections.

Without this option, the JS never executes, preventing the doorkeeper signin from ever happening.