Fixes #2

Adding javascript to load readings later if not cached