extracted railo-util.js to reusable file