added deck js file, created js directory