init flexjs