Your code in jQuery

Just add jquery library in manifest to run this simpler and cooler code.