Initial trap functionality added.
Adding compiled .js