Finished refactoring to use ripple-lib. Using special hotfix for ripple-lib to replace "Array.prototype.arguments.slice" with "Array.prototype.slice.call". (This will be updated once ripple-lib is fixed.)