fix asset.type undefined js error
Merge pull request #486 from arthurtalkgoal/master

fix asset.type undefined js error