add icanhas and require js
add other js dependencies.  setup require js correctly with main