Update btw.js

Add simplified Delay function.