LRA-134: Using constants for javascript constants