fxlib for javascript