LB-508: Autopublish - chaining blogs plugin

Added sha1 javascript function.