creates cache js depending upon conditions

The library checks for configuration changes and creates a new version
of js cache in location specified in config
caching / inline js method implemented
Merge pull request #12 from mebjas/inline-script-appending

Inline script appending