Elm port to FunScript (F# -> JS)