adding javascript editor