jshint fixes, more pointer usage, fix dcl version