Popular Search : Javascript Scopes Block