starting to separate wp plugin from jquery plugin