Add javascript block to README