migrated from jQuery UI to twitter bootstrap
implemented unit settings on the frontend