new support calling javascript function.