Ory-js offers Javascript bindings for the Ory API.
You can install ory-js with bower: bower install ory-js --save
Or use the cdn: <script type="text/javascript" src="https://raw.githubusercontent.com/ory-systems/ory-js/master/ory.min.js"></script>
First, install Node. Next you'll need grunt-cli and bower:
npm install grunt-cli -g
npm install bower -g
Now install the dependencies: npm install && bower install
You're now able to make modifications to src/ory.js and either compile ory.js with grunt (release)
or grunt dev (watching for changes and debug mode).