added js implementation of bob app