Use link and unlink to avoid confusion. Bind .on event to document not to be affected by navigation reload. Update title as functionality changes.

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>