Write windows app in js style!