Pluginifying JavaScript Code
Fixed typo