initial first chapter js file