Error: undeclared identifier: 'newFuture'
I run in the command line: `nake js` in the same dir as my main.nim.  Running just `nake` I can succesfully build for windows.  

Error msg:
`C:\Users\sdmca\.nimble\pkgs\nimx-0.1\nimx\ui_resource.nim(36, 14) Error: undeclared identifier: 'newFuture'`

Doesn't build for js target. Maybe my nakefile needs something? 

main.nim contents
```
import nimx/window
import nimx/text_field

proc startApp() =
    # First create a window. Window is the root of view hierarchy.
    var wnd = newWindow(newRect(40, 40, 800, 600))

    # Create a static text field and add it to view hierarchy
    let label = newLabel(newRect(20, 20, 150, 20))
    label.text = "Hello, world!"
    wnd.addSubview(label)

# Run the app
runApplication:
    startApp()
```
nakefile.nim contents
```
import nimx/naketools
```