Fix JSHint warning about undefined Ti object
Fix code indention
Fix README heading indention