Merge pull request #97 from robinnorth/master

Fix error in check for undefined/null player parameters
Updated minified version