added null check on localstorage
added null check on localstorage

gopalindians/melonJS,Smoss/Enoru-eco,srbala/melonJS,TukekeSoft/melonJS,TukekeSoft/melonJS,MarkoIvanetic/melonJS,melonjs/melonJS,rlugojr/melonJS,TukekeSoft/melonJS,Smoss/Enoru-eco,rlugojr/melonJS,MarkoIvanetic/melonJS,srbala/melonJS,srbala/melonJS,gopalindians/melonJS,gopalindians/melonJS,melonjs/melonJS,rlugojr/melonJS