adding javascript md5 conversion