Fixed subtitlespec

Changed direct jQuery ajax calls to a wrapper in Environment
Merge pull request #28 from dreisch/subtitlespec_fix

Fixed subtitlespec
Merge remote-tracking branch 'upstream/master'