Skip newline before function in js proto snippet