treat float w/h options as percentage values
complete the rewrite of publish.js