enable js correctly for generic inlines