added support for omitting certain attributes from generated javascript bindings