making seperatepage js directory