Implement custom JS
As referenced in Issue #28