add javascript directory