define-js-method macro implemented; some string functionality added
define-js-method macro implemented; some string functionality added

jimiejosh/js,akapav/js,marijnh/js,jimiejosh/js,marijnh/js,akapav/js,jimiejosh/js,marijnh/js,akapav/js