partial support for create + drop, fix jshint things