Error handling for registration added.
Placeholders for task removal added.
Javascript extracted to separate file.