adding javascript directory