A null pointer fix.

Use same js configuration from geocat_1.1