removing redundant javascript directory