minor restructure of javascript folder