fix javascript using on line tool jsbin.com (great!)