use performance.now when available
Merge pull request #195 from duzun/master

use performance.now() when available