Tests JavaScript