Implemented Jam.define() as external function
Example of Jam.define() usage