fixes #1; initial js call stopped