adding javascript option