Fixed component definition for using as common reqirejs module
Merge pull request #10 from stremlenye/requireJs-support

Fixed component definition for using it as common requirejs module