updating js for flash height.

Signed-off-by: Vishal Sood <vishalsood@gmail.com>