Added dummy functions in JS for reference.