Added constant to js interface