Valiation logic, Sammy.js RESTful client-side routing and ajax spinner wheel