Assume canvas:true if an orientation is given.
Added orientation tests.
Updated the minified version.