Updated js constants action