fixed CSharp parser issue;
moved nweb resources to resource.js instead of controller;
minor fixes;