add JavaScript mode
many fixes
increased version to 0.1.0