Added lib/ folder

Put all the JS there