fix localmessage bug
modify js url parse
fix alert npe