moved js fils into their own js directory