Works on javaScript