Add missing semicolon
Add has tests for ios6 and less than ios5