learning quintus.js by converting a previous project