v1.0.3

Updated the JS from github
removed the extra for loop
removed the jason_encode
added console.log to test the arrays