Remove deprecation warnings due to elm_web.

Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>