Created join.js with all default values. Currently no support for options
 but should work after bug fixing.