v1.0.4 Fixes error regarding JS API