add custom js from php const var