final version of gradr.js