Creates name space for JavaScript
Implements saving and search