jshint errors fixed
Updated for RC1!
Credits added