fix some jquery promise issues
remove bower_components dir