using ansi_up javascript parser