Update basicblocks.js

Adding 'while' block