embd: tested with jshint