Added JS Interface for the new Functions