Js file with 10 bugs