Added 'extra.js' file for useful functions

Functions like generate random sha1, verify chars etc