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