Fixed the attribute setting to conform to jQuery 1.9 specifications.
Fixed the container height and width bug.