added grimey js to create hash