added js and bash versions