bug fixes in jsfm