Fixes for JS doc