Revert "Respect application config when generating javascript includes"

Reverting to fix #29