added problems to js file