Added page caching on the js