Wrap jquery code in an immediately invoked function expression
Use cache service instead of cache interface
Use cache service instead of cache interface