cleaned some code and added form in mood-creation.js