Added a param cssWidthAndHeight that can be set to true to disable the adding of width and height JS styles