allowed more parameters to function calls per jsHint
Added unit test for LocalStorage