refactor(js): use dynamic method creation
chore(release): release v0.0.4