adding missing |safe to custom js