Prevent javascript error when no query string is present
Merge pull request #1 from brendonparker/master

Prevent javascript error when no query string is present