Cleaned up backbone plugin and fixed lint issues