Create Javascript Function With Parameters In C