Add javascript tests :sparkles: