adding javascript