added jquery plugin function parameters optimizations best practices into module construct