convert when type is changed
new js files
Merge pull request #6 from SaschaNaz/master

convert when type is changed