the slim code for js app ( or mankaa room)