WICKET-4926 fixed problem inside modal window; simplified; not need for ajax reference

Update grunt config for lint checking of .js files