Initial commit of PHP port of ragadjust.js