Added strict js mode flag | abstracted localstorage into its own namespace