added header, restructured js foler