debugging js files on server side