Fixed javascript syntax error in jappixmini due to empty  variable