fix blank params issue and make initializers work as jquery plugins