Prettified assignment and link deletion.

Moved sha1 hashing in javascript offline.