Fixing warnings of the order of member variables and fixing errors for tizen projects. Updating JS-test.