Update blocker.js

Added basic functionality.