Bugfix: Trim inner content

If the smoothState object started with a blank line, parser would choke. 
Trimming the input string before passing it to jQuery for parsing fixes the bug.
Merge pull request #28 from jbellsey/bugfix-trim-content

Bugfix: Trim inner content