Fixed JS Function usage
Fixed JS Function usage