Adding error logging and browser detection.
Restructuring project

Special focus on jQuery plugins.