changed duration and interval in javascript file and removed one comment in the back end