adding javascript entry