Some javascript and animations

Validations, animations on error and some more styling.