Fixes and missing js tests