def point_to_js_command(point_coord, point_name):
    """
    Returning a js script.
    :param point_coord:
    :param point_name:
    :return:
    """
    return point_name + ' = Point(' + str(point_coord[0]) + ', 0, ' + str(
        point_coord[1]) + ');\n'
