Whitespace fixes in ruby module
Added javascript library and demo