Refactorization regarding conventions of ble-ti-sensortag JS code. Improved comments, added error redirection.
Adjusted troubleshooting information to be more correct and simpler.
Moved back the console and error redirection to the beginning of JS code.
Removed confusing port number from arduino.js and added comments.