JS Link Cache implementation

JS Link cache implementation
Merge pull request #1 from swaranga/mainline

JS Link Cache implementation