use object directly instead of require

fix #5
Merge pull request #6 from hariadi/develop

use object directly instead of require