1. Protecting the library with anonymous self extract function and added
the jquery object plus window init to the dalert.
2. Checked the code with JSLint Conventions. And reduced the errors.