Change self to this in sequelize specific constructor, and add js/main to the repo