A javascript module to support mobile web