Switched from using <object> tag to <div>