update rails version on demo code
apply jslint fix to main src file - see d4bb001550e5663ba12c6cc086c3cb860c683cf9
1.9.2