assert

Added assert function to the top of taj.js