feat(Resource): add plain JavaScript support.
chore(release): v0.2.5