Use storage for extension setting, small tweaks

+ Use chrome storage to store extension status
* Use strict equality for comparison
* Use toString method to convert number to String