prepared app js for coding