added detection of URL from where was script loaded to correctly load CSS styles
added jQuery wrapper around code
CSS fix for box-sizing, set to contet-box