Check if the user is defined
Cleanup: coding style
Use a raw paid task type value to define mesure unit labels
Cleanup: JS coding style
Avoid JS namespace pollution
Rename error response attribute
Add i18n missed
Cleanup: get rid of typeof using
Cleanup: use 2-space indents
Docs: add descriptions for used flot plugins