Replace javascript sintax with jquery

Signed-off-by: Filipe Leuch Bonfim <flb09@c3sl.ufpr.br>